﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FCTC_Web.Models;
using DAL;

namespace FCTC_Web.Controllers.Business.BusinessModel
{
    public class ShopBusiness
    {
        
    }

    public class ShopDetailBusiness
    {
        public Shop Shop { get; set; }
        public ShopDetailBusiness(int? id)
        {
            Shop = CH.GetDataById<Shop>(id);
            if (Shop == null)
                throw new Exception("对应商铺数据不存在");
        }
    }
}